﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.ComputeBufferType
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>ComputeBuffer type.</para>
  /// </summary>
  [Flags]
  public enum ComputeBufferType
  {
    /// <summary>
    ///   <para>Default ComputeBuffer type (structured buffer).</para>
    /// </summary>
    Default = 0,
    /// <summary>
    ///   <para>Raw ComputeBuffer type (byte address buffer).</para>
    /// </summary>
    Raw = 1,
    /// <summary>
    ///   <para>Append-consume ComputeBuffer type.</para>
    /// </summary>
    Append = 2,
    /// <summary>
    ///   <para>ComputeBuffer with a counter.</para>
    /// </summary>
    Counter = 4,
    /// <summary>
    ///   <para>ComputeBuffer that you can use as a constant buffer (uniform buffer).</para>
    /// </summary>
    Constant = 8,
    /// <summary>
    ///   <para>ComputeBuffer that you can use as a structured buffer.</para>
    /// </summary>
    Structured = 16, // 0x00000010
    [Obsolete("Enum member DrawIndirect has been deprecated. Use IndirectArguments instead (UnityUpgradable) -> IndirectArguments", false)] DrawIndirect = 256, // 0x00000100
    /// <summary>
    ///   <para>ComputeBuffer used for Graphics.DrawProceduralIndirect, ComputeShader.DispatchIndirect or Graphics.DrawMeshInstancedIndirect arguments.</para>
    /// </summary>
    IndirectArguments = DrawIndirect, // 0x00000100
    [Obsolete("Enum member GPUMemory has been deprecated. All compute buffers now follow the behavior previously defined by this member.", false)] GPUMemory = 512, // 0x00000200
  }
}
